package com.example.leetcode.dp;

import com.example.leetcode.dp.common.DPUtils;

class Solution53 {
    public int maxSubArray(int[] nums) {
        return DPUtils.maxSubArray(nums);
    }
}

public class leetcode53 {
    public static void main(String[] args) {
        Solution53 solution53 = new Solution53();
        int[] nums = {-2, 1, -3, 4, -1, 2, 1, -5, 4};
        System.out.println(solution53.maxSubArray(nums));
    }
}
